<!DOCTYPE html>
<html>
<head>
    <meta name="layout" content="main"/>
    <g:set var="entityName" value="${message(code: 'accountProject.label', default: 'AccountProject')}"/>
    <title>项目详情</title>
</head>

<body>
<div class="small-header">
    <div class="hpanel">
        <div class="panel-body">
            <div id="hbreadcrumb" class="pull-right navFloatRight">
                <ol class="hbreadcrumb breadcrumb">
                    <li>
                        <span>CINDATA PLS</span>
                    </li>
                    <li>
                        <g:link controller="account" action="externalAccountShow" params="[id: accountProject?.account?.id, code: params?.code]"><span>机构详情</span></g:link>
                    </li>
                    <li class="active">
                        <span>项目详情</span>
                    </li>
                </ol>
            </div>
            <h2 class="font-light m-b-xs">
                项目详情
            </h2>
        </div>
    </div>
</div>

<div class="content animate-panel">
    <div class="row">
        <g:if test="${flash.message}">
            <div class="message alert alert-info" role="status">${flash.message}
                <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>
            </div>
        </g:if>
        <div class="hpanel hred contact-panel">
            <div class="panel-heading">
                <div class="panel-tools">
                    <g:link class="btn btn-info btn-xs" action="edit" resource="${this.accountProject}"><i class="fa fa-edit"></i>编辑</g:link>
                </div>
                项目详情
            </div>

            <div class="panel-body">
                <h4>
                    碧桂园二期项目
                </h4>
                <div class="col-md-2">
                    <strong>
                        北京市
                    </strong>
                </div>
            </div>

            <div class="panel-footer contact-footer">
                <div class="row">

                    <div class="col-md-2 border-right">
                        <div class="contact-stat">
                            <span>预售证编号</span>
                            <strong></strong>
                        </div>
                    </div>

                    <div class="col-md-2 border-right">
                        <div class="contact-stat">
                            <span>工作流</span>
                            <strong>项目准入工作流</strong>
                        </div>
                    </div>

                    <div class="col-md-2 border-right">
                        <div class="contact-stat">
                            <span>入围状态</span>
                            <strong>已入围</strong>
                        </div>
                    </div>

                    <div class="col-md-2 border-right">
                        <div class="contact-stat">
                            <span>建筑类别</span>
                            <strong></strong>
                        </div>
                    </div>

                    <div class="col-md-2 border-right">
                        <div class="contact-stat">
                            <span>交房时间</span>
                            <strong>2018-11-04</strong>
                        </div>
                    </div>

                    <div class="col-md-2 border-right">
                        <div class="contact-stat">
                            <span>竣工验收</span>
                            <strong>2018-11-04</strong>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    %{--楼盘列表--}%
    <div class="row">
        <div class="hpanel hyellow collapsed">
            <div class="panel-heading">
                <div class="panel-tools">
                    <a class="showhide">
                        <i class="fa fa-chevron-up"></i>
                    </a>
                </div>
                销售统计
            </div>

            <div class="panel-body no-padding" style="overflow-y: scroll;display: block">
                <div class="table-responsive">
                    <table class="table table-striped table-bordered table-hover text-center">
                        <thead>
                        <tr>
                            <g:sortableColumn property="name" title="预售证"/>
                            <g:sortableColumn property="address" title="小区名称"/>
                            <g:sortableColumn property="coveringArea" title="已售总套数"/>
                            <g:sortableColumn property="totalBuildingArea" title="未售总套数"/>
                            <g:sortableColumn property="certificateNumber" title="已售总面积(平方米)"/>
                            <g:sortableColumn property="buildingType" title="未售总面积(平方米)"/>
                        </tr>
                        </thead>
                        <tbody>
                            <tr class="text-center">
                                <td><g:link style="color: #3498DB" controller="accountProjectBuilding" action="projectBuildingShow">20180301</g:link></td>
                                <td>碧桂园一区</td>
                                <td>234</td>
                                <td>24</td>
                                <td>23008.98</td>
                                <td>5337.02</td>
                            </tr>
                        </tbody>
                    </table>
                </div>
            </div>
            <div class="panel-footer" style="display: block">
                <div class="row">

                    <div class="col-md-2 text-center">
                            <span>总计</span>
                    </div>

                    <div class="col-md-2 text-center">
                            <span></span>
                    </div>

                    <div class="col-md-2">
                            <span>234</span>
                    </div>

                    <div class="col-md-2">
                            <span>24</span>
                    </div>

                    <div class="col-md-2">
                            <span>23008.98</span>
                    </div>

                    <div class="col-md-2">
                            <span>5337.02</span>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html>
